package com.bush.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.product.entity.SpuImagesEntity;

/**
 * spu图片
 * @author RUN
 * @date 2022-11-28
 */
public interface SpuImagesService extends IService<SpuImagesEntity> {

    public static final String BEAN_ID = "mall.spuImagesService";

    /**
     * 分页查询spu图片列表
     * @author RUN
     * @date 2022-11-28
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建spu图片表单对象
     * @author RUN
     * @date 2022-11-28
     */
     Result saveSpuImages(SpuImagesEntity spuImages);


    /**
     * 修改spu图片表单对象
     * @author RUN
     * @date 2022-11-28
     */
     Result updateSpuImages(SpuImagesEntity spuImages);

    /**
     * 删除指定ID的spu图片
     * @author RUN
     * @date 2022-11-28
     */
     Result deleteSpuImages(Long id);

}

